package com.sunyard.dal.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 公告管理实体
 */
@Data
public class BulletinDTO {

    @ApiModelProperty(value = "公告ID")
    private String bulletinId;

    @ApiModelProperty(value = "标题名称", required = true)
    private String titleName;

    @ApiModelProperty(value = "发布公告机构ID", required = true)
    private String orgId;

    @ApiModelProperty(value = "发布公告机构名称", required = true)
    private String orgName;

    @ApiModelProperty(value = "发布人ID", required = true)
    private String opId;

    @ApiModelProperty(value = "发布人用户名", required = true)
    private String opName;

    @ApiModelProperty(value = "公告内容", required = true)
    private String content;

    @ApiModelProperty(value = "是否已读 0-未读 1-已读")
    private String hasRead;

    @ApiModelProperty(value = "创建时间")
    private String createDatetime;

    @ApiModelProperty(value = "公告撤回 0-未撤回 1-撤回")
    private String revocation;

    @ApiModelProperty(value = "公告接收机构ID", required = true)
    private List<String> receiveOrgIds;
}
